#include<stdio.h>
#include<string>
#include<stdlib.h>

#include"XmlParser.h"

using namespace std;

#ifdef loglabel
#undef loglabel
#define loglabel "test"
#endif

int main(void) {

    logd("test start....");
    char path[]="test.xml";
    XmlParser txp(path);

    txp.dumpparamVector();

    std::string testValue;

    testValue = txp.getValueFromKey(std::string("TrueColorP1"));
    logd("testValue=%s",testValue.c_str());

    testValue = txp.getValueFromKey(std::string("TrueColorP12"));
    logd("testValue=%s",testValue.c_str());

    logd("test end!");

    return 0;

}
